/*
 * Carnet.h
 *
 *  Created on: 16 déc. 2008
 *      Author: metalgun
 */

#ifndef CARNET_H_
#define CARNET_H_
#include <iostream>
#include <string>
#include "Personne.h"
#include "Adresse.h"
#include "function.h"
#include <vector>
using namespace std;

class Carnet {
	string proprietaire;
	vector<Personne>  carnet;
public:
	Carnet(string propritaire);
	void ajout_contact();
	int rechercher_contact(string nom);
	int supprimer_contact(string nom);
	int sauvegarde_carnet();
	int charger_carnet();
	void push(Personne p);
	virtual ~Carnet();
};

#endif /* CARNET_H_ */
